﻿using System;

namespace Wedonek.RpcStore.Service.Model
{
        /// <summary>
        /// 任务基本资料
        /// </summary>
        public class AutoTaskDatum
        {
                /// <summary>
                /// 任务Id
                /// </summary>
                public Guid Id
                {
                        get;
                        set;
                }

              
                /// <summary>
                /// 任务名
                /// </summary>
                public string TaskName
                {
                        get;
                        set;
                }
              
                /// <summary>
                /// 任务排序
                /// </summary>
                public int TaskPriority
                {
                        get;
                        set;
                }
                /// <summary>
                /// 开始步骤
                /// </summary>
                public short BeginItem
                {
                        get;
                        set;
                }

                /// <summary>
                /// 版本号
                /// </summary>
                public int VerNum { get; set; }
                /// <summary>
                /// 是否执行中
                /// </summary>
                public bool IsExec { get; set; }
                /// <summary>
                /// 最后执行时间
                /// </summary>
                public DateTime? LastExecTime { get; set; }
                /// <summary>
                /// 最后执行结束时间
                /// </summary>
                public DateTime? LastExecEndTime { get; set; }
                /// <summary>
                /// 下次执行时间
                /// </summary>
                public DateTime? NextExecTime { get; set; }
                /// <summary>
                /// 是否启用
                /// </summary>
                public bool IsEnable { get; set; }
        }
}
